package com.zhiyou.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou.mapper.FYParentMapper;
import com.zhiyou.model.FYParent;
import com.zhiyou.model.FyClass;
import com.zhiyou.model.FyStudent;
import com.zhiyou.service.FYParentService;

@Service
public class FYParentServiceImpl implements FYParentService {

	@Autowired
	FYParentMapper fyParentMapper;
	//根据班级查询家长们
	@Override
	public List<Map<String, String>> select(Integer class_id) {
		return fyParentMapper.select(class_id);
	}
	//根据名字模糊查询家长
	@Override
	public List<Map<String, String>> selectName(String student_name) {
		return fyParentMapper.selectName(student_name);
	}





}
